home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 3 / Amiga Tools 3.iso / programming / jpegv6 / jpeg-6 / makefile.mms < prev    next >
Encoding:
Makefile  |  1995-07-25  |  12.3 KB  |  213 lines

  1. # Makefile for Independent JPEG Group's software
  2.  
  3. # This makefile is for use with MMS on Digital VMS systems.
  4. # Thanks to Rick Dyson (dyson@iowasp.physics.uiowa.edu)
  5. # and Tim Bell (tbell@netcom.com) for their help.
  6.  
  7. # Read installation instructions before saying "MMS" !!
  8.  
  9. # You may need to adjust these cc options:
  10. CFLAGS= $(CFLAGS) /NoDebug /Optimize
  11. # Generally, we recommend defining any configuration symbols in jconfig.h,
  12. # NOT via /Define switches here.
  13. .ifdef ALPHA
  14. OPT=
  15. .else
  16. OPT= ,Sys$Disk:[]MAKVMS.OPT/Option
  17. .endif
  18.  
  19. # Put here the object file name for the correct system-dependent memory
  20. # manager file.  For Unix this is usually jmemnobs.o, but you may want
  21. # to use jmemansi.o or jmemname.o if you have limited swap space.
  22. SYSDEPMEM= jmemnobs.obj
  23.  
  24. # End of configurable options.
  25.  
  26.  
  27. # source files: JPEG library proper
  28. LIBSOURCES= jcapimin.c jcapistd.c jccoefct.c jccolor.c jcdctmgr.c jchuff.c \
  29.         jcinit.c jcmainct.c jcmarker.c jcmaster.c jcomapi.c jcparam.c \
  30.         jcphuff.c jcprepct.c jcsample.c jctrans.c jdapimin.c jdapistd.c \
  31.         jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c jddctmgr.c jdhuff.c \
  32.         jdinput.c jdmainct.c jdmarker.c jdmaster.c jdmerge.c jdphuff.c \
  33.         jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c jfdctfst.c \
  34.         jfdctint.c jidctflt.c jidctfst.c jidctint.c jidctred.c jquant1.c \
  35.         jquant2.c jutils.c jmemmgr.c jmemansi.c jmemname.c jmemnobs.c \
  36.         jmemdos.c
  37. # source files: cjpeg/djpeg/jpegtran applications, also rdjpgcom/wrjpgcom
  38. APPSOURCES= cjpeg.c djpeg.c jpegtran.c cdjpeg.c rdcolmap.c rdswitch.c \
  39.         rdjpgcom.c wrjpgcom.c rdppm.c wrppm.c rdgif.c wrgif.c rdtarga.c \
  40.         wrtarga.c rdbmp.c wrbmp.c rdrle.c wrrle.c
  41. SOURCES= $(LIBSOURCES) $(APPSOURCES)
  42. # files included by source files
  43. INCLUDES= jchuff.h jdhuff.h jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h \
  44.         jpegint.h jpeglib.h jversion.h cdjpeg.h cderror.h
  45. # documentation, test, and support files
  46. DOCS= README install.doc usage.doc cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 \
  47.         wrjpgcom.1 wizard.doc example.c libjpeg.doc structure.doc \
  48.         coderules.doc filelist.doc change.log
  49. MKFILES= configure makefile.cfg makefile.ansi makefile.unix makefile.bcc \
  50.         makefile.mc6 makefile.dj makefile.wat makcjpeg.st makdjpeg.st \
  51.         makljpeg.st maktjpeg.st makefile.manx makefile.sas makefile.mms \
  52.         makefile.vms makvms.opt
  53. CONFIGFILES= jconfig.cfg jconfig.manx jconfig.sas jconfig.st jconfig.bcc \
  54.         jconfig.mc6 jconfig.dj jconfig.wat jconfig.vms
  55. OTHERFILES= jconfig.doc ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm
  56. TESTFILES= testorig.jpg testimg.ppm testimg.gif testimg.jpg testprog.jpg \
  57.         testimgp.jpg
  58. DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \
  59.         $(OTHERFILES) $(TESTFILES)
  60. # library object files common to compression and decompression
  61. COMOBJECTS= jcomapi.obj jutils.obj jerror.obj jmemmgr.obj $(SYSDEPMEM)
  62. # compression library object files
  63. CLIBOBJECTS= jcapimin.obj jcapistd.obj jctrans.obj jcparam.obj jdatadst.obj \
  64.         jcinit.obj jcmaster.obj jcmarker.obj jcmainct.obj jcprepct.obj \
  65.         jccoefct.obj jccolor.obj jcsample.obj jchuff.obj jcphuff.obj \
  66.         jcdctmgr.obj jfdctfst.obj jfdctflt.obj jfdctint.obj
  67. # decompression library object files
  68. DLIBOBJECTS= jdapimin.obj jdapistd.obj jdtrans.obj jdatasrc.obj \
  69.         jdmaster.obj jdinput.obj jdmarker.obj jdhuff.obj jdphuff.obj \
  70.         jdmainct.obj jdcoefct.obj jdpostct.obj jddctmgr.obj jidctfst.obj \
  71.         jidctflt.obj jidctint.obj jidctred.obj jdsample.obj jdcolor.obj \
  72.         jquant1.obj jquant2.obj jdmerge.obj
  73. # These objectfiles are included in libjpeg.olb
  74. LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
  75. # object files for sample applications (excluding library files)
  76. COBJECTS= cjpeg.obj rdppm.obj rdgif.obj rdtarga.obj rdrle.obj rdbmp.obj \
  77.         rdswitch.obj cdjpeg.obj
  78. DOBJECTS= djpeg.obj wrppm.obj wrgif.obj wrtarga.obj wrrle.obj wrbmp.obj \
  79.         rdcolmap.obj cdjpeg.obj
  80. TROBJECTS= jpegtran.obj rdswitch.obj cdjpeg.obj
  81. # objectfile lists with commas --- what a crock
  82. COBJLIST= cjpeg.obj,rdppm.obj,rdgif.obj,rdtarga.obj,rdrle.obj,rdbmp.obj,\
  83.           rdswitch.obj,cdjpeg.obj
  84. DOBJLIST= djpeg.obj,wrppm.obj,wrgif.obj,wrtarga.obj,wrrle.obj,wrbmp.obj,\
  85.           rdcolmap.obj,cdjpeg.obj
  86. TROBJLIST= jpegtran.obj,rdswitch.obj,cdjpeg.obj
  87. LIBOBJLIST= jcapimin.obj,jcapistd.obj,jctrans.obj,jcparam.obj,jdatadst.obj,\
  88.           jcinit.obj,jcmaster.obj,jcmarker.obj,jcmainct.obj,jcprepct.obj,\
  89.           jccoefct.obj,jccolor.obj,jcsample.obj,jchuff.obj,jcphuff.obj,\
  90.           jcdctmgr.obj,jfdctfst.obj,jfdctflt.obj,jfdctint.obj,jdapimin.obj,\
  91.           jdapistd.obj,jdtrans.obj,jdatasrc.obj,jdmaster.obj,jdinput.obj,\
  92.           jdmarker.obj,jdhuff.obj,jdphuff.obj,jdmainct.obj,jdcoefct.obj,\
  93.           jdpostct.obj,jddctmgr.obj,jidctfst.obj,jidctflt.obj,jidctint.obj,\
  94.           jidctred.obj,jdsample.obj,jdcolor.obj,jquant1.obj,jquant2.obj,\
  95.           jdmerge.obj,jcomapi.obj,jutils.obj,jerror.obj,jmemmgr.obj,$(SYSDEPMEM)
  96.  
  97.  
  98. .first
  99.     @- Define /NoLog Sys Sys$Library
  100.  
  101. ALL : libjpeg.olb cjpeg.exe djpeg.exe jpegtran.exe rdjpgcom.exe wrjpgcom.exe
  102.     @ Continue
  103.  
  104. libjpeg.olb : $(LIBOBJECTS)
  105.     Library /Create libjpeg.olb $(LIBOBJLIST)
  106.  
  107. cjpeg.exe : $(COBJECTS) libjpeg.olb
  108.     $(LINK) $(LFLAGS) /Executable = cjpeg.exe $(COBJLIST),libjpeg.olb/Library$(OPT)
  109.  
  110. djpeg.exe : $(DOBJECTS) libjpeg.olb
  111.     $(LINK) $(LFLAGS) /Executable = djpeg.exe $(DOBJLIST),libjpeg.olb/Library$(OPT)
  112.  
  113. jpegtran.exe : $(TROBJECTS) libjpeg.olb
  114.     $(LINK) $(LFLAGS) /Executable = jpegtran.exe $(TROBJLIST),libjpeg.olb/Library$(OPT)
  115.  
  116. rdjpgcom.exe : rdjpgcom.obj
  117.     $(LINK) $(LFLAGS) /Executable = rdjpgcom.exe rdjpgcom.obj$(OPT)
  118.  
  119. wrjpgcom.exe : wrjpgcom.obj
  120.     $(LINK) $(LFLAGS) /Executable = wrjpgcom.exe wrjpgcom.obj$(OPT)
  121.  
  122. jconfig.h : jconfig.vms
  123.     @- Copy jconfig.vms jconfig.h
  124.  
  125. clean :
  126.     @- Set Protection = Owner:RWED *.*;-1
  127.     @- Set Protection = Owner:RWED *.OBJ
  128.     - Purge /NoLog /NoConfirm *.*
  129.     - Delete /NoLog /NoConfirm *.OBJ;
  130.  
  131. test : cjpeg.exe djpeg.exe jpegtran.exe
  132.     mcr sys$disk:[]djpeg -dct int -ppm -outfile testout.ppm testorig.jpg
  133.     mcr sys$disk:[]djpeg -dct int -gif -outfile testout.gif testorig.jpg
  134.     mcr sys$disk:[]cjpeg -dct int      -outfile testout.jpg testimg.ppm
  135.     mcr sys$disk:[]djpeg -dct int -ppm -outfile testoutp.ppm testprog.jpg
  136.     mcr sys$disk:[]cjpeg -dct int -progressive -opt -outfile testoutp.jpg testimg.ppm
  137.     mcr sys$disk:[]jpegtran -outfile testoutt.jpg testprog.jpg
  138.     - Backup /Compare/Log      testimg.ppm testout.ppm
  139.     - Backup /Compare/Log      testimg.gif testout.gif
  140.     - Backup /Compare/Log      testimg.jpg testout.jpg
  141.     - Backup /Compare/Log      testimg.ppm testoutp.ppm
  142.     - Backup /Compare/Log      testimgp.jpg testoutp.jpg
  143.     - Backup /Compare/Log      testorig.jpg testoutt.jpg
  144.  
  145.  
  146. jcapimin.obj: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  147. jcapistd.obj: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  148. jccoefct.obj: jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  149. jccolor.obj: jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  150. jcdctmgr.obj: jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  151. jchuff.obj: jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
  152. jcinit.obj: jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  153. jcmainct.obj: jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  154. jcmarker.obj: jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  155. jcmaster.obj: jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  156. jcomapi.obj: jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  157. jcparam.obj: jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  158. jcphuff.obj: jcphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
  159. jcprepct.obj: jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  160. jcsample.obj: jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  161. jctrans.obj: jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  162. jdapimin.obj: jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  163. jdapistd.obj: jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  164. jdatadst.obj: jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
  165. jdatasrc.obj: jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
  166. jdcoefct.obj: jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  167. jdcolor.obj: jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  168. jddctmgr.obj: jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  169. jdhuff.obj: jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
  170. jdinput.obj: jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  171. jdmainct.obj: jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  172. jdmarker.obj: jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  173. jdmaster.obj: jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  174. jdmerge.obj: jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  175. jdphuff.obj: jdphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
  176. jdpostct.obj: jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  177. jdsample.obj: jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  178. jdtrans.obj: jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  179. jerror.obj: jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
  180. jfdctflt.obj: jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  181. jfdctfst.obj: jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  182. jfdctint.obj: jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  183. jidctflt.obj: jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  184. jidctfst.obj: jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  185. jidctint.obj: jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  186. jidctred.obj: jidctred.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  187. jquant1.obj: jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  188. jquant2.obj: jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  189. jutils.obj: jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  190. jmemmgr.obj: jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  191. jmemansi.obj: jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  192. jmemname.obj: jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  193. jmemnobs.obj: jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  194. jmemdos.obj: jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  195. cjpeg.obj: cjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  196. djpeg.obj: djpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  197. jpegtran.obj: jpegtran.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  198. cdjpeg.obj: cdjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  199. rdcolmap.obj: rdcolmap.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  200. rdswitch.obj: rdswitch.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  201. rdjpgcom.obj: rdjpgcom.c jinclude.h jconfig.h
  202. wrjpgcom.obj: wrjpgcom.c jinclude.h jconfig.h
  203. rdppm.obj: rdppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  204. wrppm.obj: wrppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  205. rdgif.obj: rdgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  206. wrgif.obj: wrgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  207. rdtarga.obj: rdtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  208. wrtarga.obj: wrtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  209. rdbmp.obj: rdbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  210. wrbmp.obj: wrbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  211. rdrle.obj: rdrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  212. wrrle.obj: wrrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  213.